package com.example.demo2;

import java.math.BigDecimal;

public class Test {
    private BigDecimal b1;
    private BigDecimal b2;
    public void setB1(BigDecimal b1){
        this.b1=b1;
    }
    public void setB2(BigDecimal b2){
        this.b2=b2;
    }

    public BigDecimal getB1(){
        return b1;
    }
    public BigDecimal getB2(){
        return b2;
    }
    public static void main(String[] args) {

      /*  Test t=new Test();
        t.setB1(null);
        t.setB2(new BigDecimal(200));
        BigDecimal b3=t.getB1().subtract(t.getB2());
        System.out.println(b3);*/

    }
}
